package threadcoreknowledge.createthreads.wrongways;

/**
 * @ClassName Lambda
 * @Description lambda表达式创建线程
 * @Author wushaopei
 * @Date 2021/2/25 8:44
 * @Version 1.0
 */
public class Lambda {

    public static void main(String[] args) {
        new Thread(()-> System.out.println(Thread.currentThread().getName())).start();
    }
}
